package com.feng;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: lrf
 * @create: 2019-09-07
 **/
@Service
public class AsyncTaskService {

    @Async
    public void executorTask(Integer integer) {
        System.out.println("执行异步任务：" + integer);
    }

    public void executorAsyncTaskPlus(Integer integer) {
        System.out.println("执行异步任务-plus："+integer);
    }
}
